package com.qiuling.iot.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author：zhangqiang
 * @Description：服务器发送
 * @Date：Created in 21:16 2020/2/23
 * @Modified By：
 */
@Data
public class ServerSendReqVO implements Serializable {
    private static final long serialVersionUID = -5565338208373484012L;

    @NotBlank(message = "状态码不呢为空")
    @ApiModelProperty(value = "状态码，2000为成功")
    private Integer statusCode;

    @ApiModelProperty(value = "服务端发送的消息")
    private String message;

    @ApiModelProperty(value = "功能码 0 心跳 1 登陆 2 登出 3 发送消息")
    private Integer functionCode;

    @ApiModelProperty(value = "错误信息")
    private String errorMessage;


}
